package com.sunchangpeng.wechat.mp.menu.bean;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RuleMenu {
    @JSONField(name = "menuid")
    private String id;

    @JSONField(name = "matchrule")
    private Rule rule;

    @JSONField(name = "button")
    private List<MenuItem> menus;
}
